package com.football.springboot.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.football.springboot.entity.PlayerDataSingle;
import com.football.springboot.mapper.PlayerDataSingleMapper;
import com.football.springboot.service.IPlayerDataSingleService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;


@Service
public class PlayerDataSingleServiceImpl extends ServiceImpl<PlayerDataSingleMapper, PlayerDataSingle> implements IPlayerDataSingleService {

    @Resource
    private PlayerDataSingleMapper playerDataSingleMapper;

    @Override
    public PlayerDataSingle getPlayerDataSingle(Integer playerId, Integer gameId) {
        return playerDataSingleMapper.getPlayerDataSingle(playerId,gameId);
    }
}
